/**
 * <p>Title: Data Capture System</p>
 * <p>Description: 外汇交易系统数据捕获接收系统</p>
 * <p>Copyright: Copyright (c) 2005 Intenation Geong</p>
 * <p>Company: Geong</p>
 */
package com.sxds.wn.security;

import com.sxds.wn.dao.IbatisBaseDao;
import com.sxds.wn.exception.DataAccessException;
import com.sxds.wn.security.dto.User;

/**
* Description: <p>权限系统数据访问接口</p>
 * Content Desc:<p>用户数据访问接口<p>
 * Copy Right of Sxdx-Wn
 * @author Andy
 * @version 1.0 Create Date:@2010-3-28
 */
public interface UserDao extends IbatisBaseDao{

	
	/**
	 * 检查是否存在系统的登录名用户
	 * @param user 未持久化的用户对象
	 * @return
	 * @throws DataAccessException
	 */
	public boolean checkExitsUser(User user) throws DataAccessException;
	
	/**
	 * 通过参数获取持久用户对象信息数据
	 * @param user 
	 * @return User
	 * @throws DataAccessException
	 */
	public User queryUser(User user) throws DataAccessException;

	/**
	 * 增加用户对象
	 * @param user
	 * @throws DataAccessException 数据访问异常
	 */
	public void addUser(User user) throws DataAccessException;
	
	/**
	 * 更新用户对象
	 * @param user 用户对象
	 * @throws DataAccessException 数据访问异常
	 */
	public void updateUser(User user) throws DataAccessException;
	
	/**
	 * 删除用户
	 * @param user 用户对象
	 * @throws DataAccessException 数据访问异常
	 */
	public void deleteUser(User user) throws DataAccessException;
	
	

}
